<#include "/common/head.ftl">

<@showTitle title="${i18n.getMessage('receipt.maintenance')} > ${i18n.getMessage('list')}">
	<#--a href="#" onclick="cc('system/showAddBank.sgt')">${i18n.getMessage('add')}</a> | 
	<a href="#" onclick="cc('system/showBankAccounts.sgt')">${i18n.getMessage('bank.account.list')}</a-->
</@showTitle>

<br/>

<@display.table id="listTable" name="maintenances" pagesize="20" defaultsort="5" defaultorder="descending">
	<@display.column title="${i18n.getMessage('name')}">${(listTable.number)!}</@display.column>
	<@display.column title="${i18n.getMessage('receipt')}">${(listTable.receipt.number)!}</@display.column>
	<@display.column title="${i18n.getMessage('reason')}">${(listTable.reason)!}</@display.column>
	<@display.column title="${i18n.getMessage('fee')}">${(listTable.fee)!}</@display.column>
	<@display.column title="${i18n.getMessage('date')}">${(listTable.date?date)!}</@display.column>
	<@display.column title="${i18n.getMessage('active')}">
		<#if listTable.active><span style="color: green;"><#else><span style="color: red;"></#if>
			${(listTable.active?string)!}</span>
	</@display.column>
	
	<#-- @display.column title="${i18n.getMessage('edit')}" class="center w050"><img src="images/edit.gif" style="cursor:pointer" onclick="cc('system/showEditBank.sgt?id=${listTable.id}')"/></@display.column>
	<@display.column title="${i18n.getMessage('delete')}" class="center w050"><img src="images/delete.gif" style="cursor:pointer" onclick="if(confirm('${i18n.getMessage('dialog.delete')}')) { cc('system/deleteBank.sgt?id=${listTable.id}'); }"/></@display.column -->
</@display.table>

<br /><br />